
const Layout=()=>import("../view/layout/Layout.vue")

// 定义用户相关的路由映射
const  nodeRoutes ={
    path: "/node",
    component: Layout,

    // 定义/node子路由
    // 访问/node自动跳转到list
    redirect: "/node/list",
    children: [
        {
            path: "add",
            component:()=>import('../view/node/Edit.vue'),
        },
        {
            path: "list",
            component: ()=>import('../view/node/List.vue'),
        },
    ]
}



export default nodeRoutes